﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLTouch.Service.DataContracts;

namespace SQLTouch.Client.Metro
{
    public interface INavigator
    {
        void GoToHome();
        void GoToExplore(DatabaseData database);

        void ShowAddDatabase();
        void ShowEditDatabase(DatabaseData database);
        void ShowDeleteDatabase(DatabaseData database);

        void ShowAddQuery(DatabaseData database);
        void ShowEditQuery(QueryData query);
        void ShowDeleteQuery(QueryData query);

        void ShowUnexpectedError(string errorMessage, Exception exception);
        void ShowUnexpectedError(string errorMessage);
    }
}
